<!DOCTYPE html>
{% load staticfiles %}
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="Shortcut Icon" href="/static/ico/X_128px.ico" type="image/x-icon">
  <title>创建您的 XFindSalary 账号</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="{% static 'bower_components/bootstrap/dist/css/bootstrap.min.css'%}">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="{% static 'bower_components/font-awesome/css/font-awesome.min.css'%}">
  <!-- Ionicons -->
  <link rel="stylesheet" href="{% static 'bower_components/Ionicons/css/ionicons.min.css'%}">
  <!-- Theme style -->
  <link rel="stylesheet" href="{% static 'dist/css/AdminLTE.min.css'%}">


  <link rel="stylesheet" href="{% static 'css/register1.css'%}">


  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

  <!-- Google Font -->
  <link rel="stylesheet" href="{% static 'css/GoogleFont.css'%}">
</head>

<body class="hold-transition register-page">
  <div class="register-box">
    <div class="register-logo">
    </div>

    <div class="register-box-body">
      <p class="login-box-msg">注册您的 XFindSalary 账号</p>

      <form method="post">
        {% csrf_token %}
        <div class="form-group has-feedback">
          <input class="form-control" type="text" placeholder="ID name" id="idInput" name="staff_id"
            value="{{ idvalue }}" required>
          <span class="glyphicon glyphicon-user form-control-feedback"></span>
        </div>


        <div class="form-group has-feedback">
          <input class="form-control" type="text" placeholder="姓名" id="nameInput" name="staff_name"
            value="{{ namevalue }}" required>
          <span class="fa fa-thumbs-o-up form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
          <input class="form-control" type="text" placeholder="手机号" id="phoneInput" maxlength="15" name="staff_phone"
            value="{{ phonevalue }}" required>
          <span class="glyphicon glyphicon-phone form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
          <input class="form-control" name="staff_email" type="email" maxlength="50" placeholder="Email Address"
            value="{{ emailvalue }}" required>
          <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
        </div>
        <div class="row">
          <div class="col-xs-8">
            <div class="checkbox icheck">
              <label class="fa fa-exclamation" style="color:#f39c12">
                提交您入职的信息与员工ID以注册
              </label>
            </div>
          </div>
          <!-- /.col -->
          <div class="col-xs-4">
            <button type="submit" class="btn btn-primary btn-block btn-flat">注册验证</button>
          </div>
          <!-- /.col -->
        </div>
      </form>

      <div class="social-auth-links text-center">
        <p>- Tips -</p>
        <a href="#" class="btn btn-block btn-social bg-olive btn-flat"><i class="btnwechat"></i> Sign up using
          Wechat</a>

      </div>

      <a href="{% url 'GZGL:mylogin' %}" class="text-center">我已经注册了账号！</a>

      <a class="text-center">
        <div class="error">
          {% if error_info%}
          <label href="{% url 'GZGL:register' %}">{{error_info}}</label>
          {% endif %}
          {% if error_info2%}
          <label>&nbsp&nbsp&nbsp&nbsp{{error_info2}}</label>
          <a href="{% url 'GZGL:mylogin' %}">单击此处回到登录页面后单击忘记密码来找回密码</a>
          <label>或</label>
          <a href="{% url 'GZGL:mylogin' %}">单击此处登陆</a>
          {% endif %}</div>
      </a>
    </div>

    <!-- /.form-box -->
  </div>
  <!-- /.register-box -->

  <!-- jQuery 3 -->
  <script src="{% static 'bower_components/jquery/dist/jquery.min.js'%}" type="text/javascript"></script>
  <!-- Bootstrap 3.3.7 -->
  <script src="{% static 'bower_components/bootstrap/dist/js/bootstrap.min.js'%}" type="text/javascript"></script>


</body>

</html>